package cate.common.table.item.furniture.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cate.common.util.random.RWItem;

@EExcelRowClass(IDTitle = "属性ID")
public class FurnitureRandomAttrRow extends ERow implements RWItem {
    @EExcelNoteField(fieldName = "属性组ID")
    public int group;
    @EExcelNoteField(fieldName = "属性组类型")
    public int type;
    @EExcelNoteField(fieldName = "类型限制")
    public int limit;
    @EExcelNoteField(fieldName = "属性")
    public String attrStr;
    @EExcelNoteField(fieldName = "权重")
    public double weight;

    @Override
    public double getWeight() {
        return weight;
    }
}
